using NUnit.Framework;
using Rhino.Mocks;

namespace NUnit.Behave.Specs.BehavioralFixture_Specs.Story_Specs
{
    [TestFixture]
    [Category("Story_Specs")]
    public class When_creating_a_new_story_and_injecting_a_message_provider
    {
        [Test]
        public void Should_accepts_a_title()
        {
            string message = "This is the title";

            Story story = new Story(message);
            Assert.AreEqual(message, story.Title);
        }
    }

    [TestFixture]
    [Category("Story_Specs")]
    public class When_invoking_the_conjunction_Narrative_method
    {
        [Test]
        public void Should_return_a_As_A_Conjunction()
        {
            Story story = new Story("Title of story");

            Assert.IsInstanceOfType(typeof (As_A_Conjunction), story.As_a("this user"));
        }
    }
    
  
}